package com.feiclub.subject.application.convert;

import com.feiclub.subject.application.dto.SubjectLabelDTO;
import com.feiclub.subject.domain.entity.SubjectLabelBO;
import com.feiclub.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDTOConverter {
    SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);
         SubjectLabelBO convertDtoToLabelBO(SubjectLabelDTO subjectLabelDTO);
         List<SubjectLabelDTO> convertBOToLabelDTOList(List<SubjectLabelBO> subjectLabelList);
}
